<!DOCTYPE HTML>
<html>
<head>
    <include file="Public/head"/>
    <link href="__CSS__/home.css" type="text/css" rel="stylesheet">
    <php> D('Member')->need_login();</php>
</head>
<body>
<include file="Public/header"/>
<div class="main-wrapper">
    <div id="main-container">
            <div class="container">
                <div class="row">
                    <div class="col-xs-12">
                        {:W('Common/Adv/render',array(array('name'=>'slider')))}
                    </div>
                </div>
            </div>
            <div class="container">
                <div class="row">
                    <div class="col-xs-9" style="width:710px;">
            		{:W('Video/HomeBlock/render',array('showtime'=>'week'))}
            		{:W('Video/HomeBlock/render',array('showtime'=>''))}
            		{:W('Video/HomeBlock/render',array('showtime'=>'month'))}
            		</div>
            		<div class="col-xs-3" style="width:310px;">
            			<div class="wdsw">
							<div class="head">
								<h2>我的树屋</h2>
							</div>
							<div class="body">
								<div class="prev" id="wdswPrev">
								</div>
								<div class="list" id="wdswList">
									<ul>
										<li>
											<a href="publish/showtv/">
												<i class="iconfont font32">&#xe61d;</i>
												<h2>上传</h2>
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont"><img src="__THEME_PUBLIC__/images/zp32.png"/></i>
												<h2>树丛</h2>
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont font28">&#xe633;</i>
												<h2>私信</h2>
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont font32">&#xe602;</i>
												<h2>资料</h2>
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont font32">&#xe62d;</i>
												<h2>评论</h2>
											</a>
										</li>
										<li>
											<a href="#">
												<i class="iconfont font32">&#xe618;</i>
												<h2>收藏</h2>
											</a>
										</li>
										
										<li>
											<a href="#">
												<i class="iconfont font32">&#xe607;</i>
												<h2>点赞</h2>
											</a>
										</li>
										
										<li>
											<a href="#">
												<i class="iconfont font28">&#xe60f;</i>
												<h2>分享</h2>
											</a>
										</li>
									</ul>
									
								</div>
								<div class="next" id="wdswNext">
									
								</div>
							</div>
						</div>
					{:W('Group/HomeBlock/render')}
					{:W('News/HomeBlock/render')}
					</div>
            	</div>
            </div>
    </div>
</div>
<include file="Public/footer"/>
<script type="text/javascript">
	$(document).ready(function (){
		$('li.foot,.wtbzb li').hover(function(){
			$(this).addClass('selected');
		},
		function(){
			$(this).removeClass('selected');
		});
		$('.rmht li').hover(function(){
			$('.rmht li').removeClass('selected');
			$(this).addClass('selected');
		},
		function(){
		});
		//	首页最新上传
		if($('.newvideo').size()>0){
			$('.newvideo').jCarouselLite({
				btnPrev: '#zxscPrev',
				btnNext: '#zxscNext',
				liSize:241
			});
		}
		if($('#wdswList').size()>0){
			$('#wdswList').jCarouselLite({
				btnPrev: '#wdswPrev',
				btnNext: '#wdswNext',
				liSize:51
			});	
		}
		$('#tjsc li').slice(0, 2).show();
		$('.huanbtn .change').click(function(){
			$('#tjsc li').slice(2, 4).show();
			$('#tjsc li').slice(0, 2).hide().appendTo('#tjsc');		//appendTo追加到后边，这样5-10的就变成了0-5
			return false;
		});
	});
</script>
<!-- /底部 -->
</body>
</html>